//package com.sinothk.hussars.controller;
//
//
//import com.sinothk.hussars.entity.PermissionsUserEntity;
//import com.sinothk.hussars.entity.RecordEntity;
//import com.sinothk.hussars.service.PermissionsUserService;
//import com.sinothk.hussars.service.RecordService;
//import com.sinothk.server.support.annotation.callback.ResponseResult;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//import org.springframework.web.bind.annotation.RestController;
//import com.sinothk.hussars.base.BaseController;
//
///**
// * <p>
// * 权限用户表 前端控制器
// * </p>
// *
// * @author liangyt
// * @since 2021-01-02
// */
//@Api(tags = "权限_用户授权")
//@RestController
//@RequestMapping("/permissionsUser")
//@ResponseResult()
//public class PermissionsUserController extends BaseController {
//
//    private final PermissionsUserService permissionsUserService;
//
//    public PermissionsUserController(PermissionsUserService permissionsUserService) {
//        this.permissionsUserService = permissionsUserService;
//    }
//
//    @ApiOperation(value = "新增权限用户")
//    @PostMapping("/save")
//    public PermissionsUserEntity save(@RequestBody PermissionsUserEntity permissionsUserEntity) {
//        try {
//            permissionsUserService.save(permissionsUserEntity);
//            return permissionsUserEntity;
//        } catch (Exception e) {
//            throw new RuntimeException(e.getMessage());
//        }
//    }
//}
//
//
